import requests
import json

# quantity=后面的参数代表着启动多少个容器来运行
url:str= "http://170.20.6.182:8911/paramPostServer"   #"http://127.0.0.1:8910/zipTest"

# 需要放在容器中运行的程序
#mainPY:str="D:/default/file.zip"
files = {'image':'registry.cn-guangzhou.aliyuncs.com/hasakichen/base_python3:v2.1.1',
        'volumn':'/home/hasaki:/home','containVol':'2','commands':'pyhton3 /home/hasaki/main.py'}
r=requests.post(url,data=files)
print(r.content)
